<?PHP

	include("../../includes/configAjax.php");
	
	if(isset($_POST['type'])){
					
		switch($_POST['type']){
			
			case 'resend':
				$outcome = $users->activateResend($db, $config, $_POST['uname']);
				
				if($outcome){
					echo "ok";
				} else {
					echo "Incorrect username and/or password";	
				}
			break;
			
		}
		
	}
	

?>